//
//  MainCollectionViewCell.h
//  XiMaLaYa
//
//  Created by dllo on 15/11/12.
//  Copyright © 2015年 L-G. All rights reserved.
//

#import <UIKit/UIKit.h>

#pragma mark 将collectionview的滑动事件传出来
@protocol MainCollectionViewDelegate <NSObject>

- (void)sendDelegate:(NSInteger)isDragging;

@end

@interface MainCollectionViewCell : UICollectionViewCell<UICollectionViewDataSource,UICollectionViewDelegate,UICollectionViewDelegateFlowLayout>

@property (nonatomic, assign)id <MainCollectionViewDelegate> delegate;

@property (nonatomic, retain)UICollectionView *collectionView;
// 内容标题
@property (nonatomic, retain)NSMutableArray *arrayTitle;
// 内容数据
@property (nonatomic, retain)NSMutableArray *arrayData;
// 轮播图
@property (nonatomic, retain)NSMutableArray *arrayLoopsView;

@end
